Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.platform.forms.layouts.webapp.summary--layouts

This contribution is part of XML component org.nuxeo.ecm.platform.forms.layouts.webapp.summary inside nuxeo-platform-webapp-core-5.8.jar

Documentation

Default layouts displayed on documents summary view

Extension Point

Extension point layouts of component WebLayoutManager.

Contributed Items

  • <layout name="grid_summary_layout">
          <templates>
            <template mode="any">
              /layouts/layout_grid_template.xhtml
            </template>
          </templates>
          <rows>
            <row>
              <properties mode="any">
                <property name="nxl_gridStyleClass_0">gridStyle12</property>
              </properties>
              <widget>summary_panel_top</widget>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_gridStyleClass_0">gridStyle7</property>
                <property name="nxl_gridStyleClass_1">gridStyle5</property>
              </properties>
              <widget>summary_panel_left</widget>
              <widget>summary_panel_right</widget>
            </row>
            <row>
              <properties mode="any">
                <property name="nxl_gridStyleClass_0">gridStyle12</property>
              </properties>
              <widget>summary_panel_bottom</widget>
            </row>
          </rows>
        </layout>
  • <layout name="default_summary_layout">
          <templates>
            <template mode="any">/layouts/layout_summary_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>summary_current_document_files</widget>
              <widget>summary_current_document_view</widget>
              <widget>summary_current_document_comments</widget>
            </row>
            <row>
              <widget>summary_current_document_description</widget>
              <widget>summary_current_document_states</widget>
              <widget>summary_current_document_contributors</widget>
              <widget>summary_current_document_custom_actions</widget>
              <widget>summary_current_document_tagging</widget>
              <widget>summary_current_document_relations</widget>
            </row>
            <row>
              <widget>summary_current_document_publications</widget>
            </row>
            <row>
              <widget>summary_current_document_single_tasks</widget>
            </row>
          </rows>
        </layout>
  • <layout name="note_summary_layout">
          <templates>
            <template mode="any">/layouts/layout_summary_template.xhtml</template>
          </templates>
          <rows>
            <row>
              <widget>summary_note_text</widget>
              <widget>summary_current_document_files</widget>
              <widget>summary_current_document_comments</widget>
            </row>
            <row>
              <widget>summary_current_document_description</widget>
              <widget>summary_current_document_states</widget>
              <widget>summary_current_document_contributors</widget>
              <widget>summary_current_document_custom_actions</widget>
              <widget>summary_current_document_tagging</widget>
              <widget>summary_current_document_relations</widget>
            </row>
            <row>
              <widget>summary_current_document_publications</widget>
            </row>
            <row>
              <widget>summary_current_document_single_tasks</widget>
            </row>
          </rows>
        </layout>

XML Source

<extension point="layouts" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <documentation>
      Default layouts displayed on documents summary view
    </documentation>

    <layout name="grid_summary_layout">
      <templates>
        <template mode="any">
          /layouts/layout_grid_template.xhtml
        </template>
      </templates>
      <rows>
        <row>
          <properties mode="any">
            <property name="nxl_gridStyleClass_0">gridStyle12</property>
          </properties>
          <widget>summary_panel_top</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_gridStyleClass_0">gridStyle7</property>
            <property name="nxl_gridStyleClass_1">gridStyle5</property>
          </properties>
          <widget>summary_panel_left</widget>
          <widget>summary_panel_right</widget>
        </row>
        <row>
          <properties mode="any">
            <property name="nxl_gridStyleClass_0">gridStyle12</property>
          </properties>
          <widget>summary_panel_bottom</widget>
        </row>
      </rows>
    </layout>

    <!-- deprecated since 5.6, use a grid layout now -->
    <layout name="default_summary_layout">
      <templates>
        <template mode="any">/layouts/layout_summary_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>summary_current_document_files</widget>
          <widget>summary_current_document_view</widget>
          <widget>summary_current_document_comments</widget>
        </row>
        <row>
          <widget>summary_current_document_description</widget>
          <widget>summary_current_document_states</widget>
          <widget>summary_current_document_contributors</widget>
          <widget>summary_current_document_custom_actions</widget>
          <widget>summary_current_document_tagging</widget>
          <widget>summary_current_document_relations</widget>
        </row>
        <row>
          <widget>summary_current_document_publications</widget>
        </row>
        <row>
          <widget>summary_current_document_single_tasks</widget>
        </row>
      </rows>
    </layout>

    <!-- deprecated since 5.6, use a grid layout now -->
    <layout name="note_summary_layout">
      <templates>
        <template mode="any">/layouts/layout_summary_template.xhtml</template>
      </templates>
      <rows>
        <row>
          <widget>summary_note_text</widget>
          <widget>summary_current_document_files</widget>
          <widget>summary_current_document_comments</widget>
        </row>
        <row>
          <widget>summary_current_document_description</widget>
          <widget>summary_current_document_states</widget>
          <widget>summary_current_document_contributors</widget>
          <widget>summary_current_document_custom_actions</widget>
          <widget>summary_current_document_tagging</widget>
          <widget>summary_current_document_relations</widget>
        </row>
        <row>
          <widget>summary_current_document_publications</widget>
        </row>
        <row>
          <widget>summary_current_document_single_tasks</widget>
        </row>
      </rows>
    </layout>

  </extension>